Lambda Expression to filter a list of list of items

95

Lambda Expression to filter a list of list of items -

myList.SelectMany(sublist => sublist)
    .Where(item => item.Name == "ABC" && item.Action == "123");

Comments

Submit
0 Comments